package com.orange.score.model.index;

import android.util.Log;

public class YapeiOdds extends Odds
{
  String awayTemaChupan;
  String awayTemaOdds;
  String chupan;
  String homeTeamChupan;
  String homeTeamOdds;
  String instantOdds;

  public YapeiOdds(String paramString1, String paramString2, String paramString3, String paramString4, String paramString5, String paramString6, String paramString7, String paramString8, String paramString9)
  {
    super(paramString1, paramString2, paramString3);
    this.chupan = paramString4;
    this.homeTeamChupan = paramString5;
    this.awayTemaChupan = paramString6;
    this.instantOdds = paramString7;
    this.homeTeamOdds = paramString8;
    this.awayTemaOdds = paramString9;
  }

  public String getAwayTemaChupan()
  {
    return this.awayTemaChupan;
  }

  public String getAwayTemaOdds()
  {
    return this.awayTemaOdds;
  }

  public String getChupan()
  {
    return this.chupan;
  }

  public String getHomeTeamChupan()
  {
    return this.homeTeamChupan;
  }

  public String getHomeTeamOdds()
  {
    return this.homeTeamOdds;
  }

  public String getInstantOdds()
  {
    return this.instantOdds;
  }

  public void setAwayTemaChupan(String paramString)
  {
    this.awayTemaChupan = paramString;
  }

  public void setAwayTemaOdds(String paramString)
  {
    this.awayTemaOdds = paramString;
  }

  public void setChupan(String paramString)
  {
    this.chupan = paramString;
  }

  public void setHomeTeamChupan(String paramString)
  {
    this.homeTeamChupan = paramString;
  }

  public void setHomeTeamOdds(String paramString)
  {
    this.homeTeamOdds = paramString;
  }

  public void setInstantOdds(String paramString)
  {
    this.instantOdds = paramString;
  }

  public String toString()
  {
    return "YapeiOdds [matchId=" + this.matchId + ", companyId=" + this.companyId + ", oddsId=" + this.oddsId + ", chupan=" + this.chupan + ", homeTeamChupan=" + this.homeTeamChupan + ", awayTemaChupan=" + this.awayTemaChupan + ", instantOdds=" + this.instantOdds + ", homeTeamOdds=" + this.homeTeamOdds + ", awayTemaOdds=" + this.awayTemaOdds + "]";
  }

  public void updateOdds(String paramString1, String paramString2, String paramString3)
  {
    if (Double.parseDouble(paramString1) > Double.parseDouble(this.homeTeamOdds))
    {
      this.homeTeamOddsFlag = 1;
      if (Double.parseDouble(paramString2) <= Double.parseDouble(this.awayTemaOdds))
        break label209;
      this.awayTeamOddsFlag = 1;
      if (Double.parseDouble(paramString3) <= Double.parseDouble(this.instantOdds))
        break label241;
      this.pankouFlag = 1;
    }
    while (true)
    {
      while (true)
      {
        while (true)
        {
          while (true)
          {
            while (true)
            {
              while (true)
              {
                this.homeTeamOdds = paramString1;
                this.awayTemaOdds = paramString2;
                this.instantOdds = paramString3;
                if ((this.homeTeamOddsFlag != 0) || (this.awayTeamOddsFlag != 0) || (this.pankouFlag != 0))
                {
                  Log.d("YapeiOdds Update", "matchId = " + this.matchId + ",companyId= " + this.companyId + ",homeTeamOdds = " + this.homeTeamOdds + ",instantOdds = " + this.instantOdds + ",awayTeamOdds = " + this.awayTemaOdds);
                  this.lastModifyTime = System.currentTimeMillis();
                }
                return;
                if (Double.parseDouble(paramString1) >= Double.parseDouble(this.homeTeamOdds))
                  break;
                this.homeTeamOddsFlag = -1;
              }
              this.homeTeamOddsFlag = 0;
            }
            label209: if (Double.parseDouble(paramString2) >= Double.parseDouble(this.awayTemaOdds))
              break;
            this.awayTeamOddsFlag = -1;
          }
          this.awayTeamOddsFlag = 0;
        }
        label241: if (Double.parseDouble(paramString3) >= Double.parseDouble(this.instantOdds))
          break;
        this.pankouFlag = -1;
      }
      this.pankouFlag = 0;
    }
  }
}